using System;
using System.Collections.Generic;
using System.Text;
using Com.Pirate.App.Services.Contracts;
using Com.Pirate.Domain.Services.Contracts;
using Com.Pirate.Domain.Objects.Contracts;
using Com.Pirate.Common.Contexts;
using System.Windows.Forms;

namespace Com.Pirate
{
    class MainClass
    {
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new UserInfo());
            //DomainServicesContext dContext = new DomainServicesContext();
            //var dservice = (IuserinfoService)dContext.GetObject("userinfoService");

            //AppServiceContext context = new AppServiceContext();
            //IuserinfoAppService service = (IuserinfoAppService)context.GetObject("userinfoAppService");
            //var list = service.QueryTest();
            //Console.WriteLine(list.Count);
            //Console.WriteLine("START");
            //Console.ReadLine();
        }
    }
}

